package com.asset.dispoal.business.casedispose.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class CaseDisposeMediationResponse {

    private String id;

    private String caseId;

    @ApiModelProperty(value = "预还款时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date prepaymentTime;
    @ApiModelProperty(value = "预还款时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date repaymentTime;
    @ApiModelProperty(value = "本次还款期数")
    private BigDecimal period;
    @ApiModelProperty(value = "预还本金")
    private BigDecimal prepaymentPrincipal;
    @ApiModelProperty(value = "预还利息")
    private BigDecimal prepaymentInterest;
    @ApiModelProperty(value = "预还罚息")
    private BigDecimal prepaymentPenalty;

    private String isPay;
    private BigDecimal repaymentPrincipal;
    private BigDecimal repaymentInterest;
    private BigDecimal repaymentPenalty;
}
